import {defineStore} from 'pinia';

const state = {
    ID: 'routeStore',
    menu: [],//普通层级路由
    menuTree: [],//树结构路由菜单
    cacheMenuPaths: [],//开启缓存的路径
    isF5: true,//是否为页面刷新状态
}

export const useRouteStore = defineStore(state.ID, {
    state: () => {
        return state
    },
})
